package com.hiultra.archive.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hiultra.common.annotation.Excels;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hiultra.common.annotation.Excel;
import com.hiultra.common.core.domain.BaseEntity;

/**
 * 档案入库任务对象 archive_storage_task
 *
 * @author ruoyi
 * @date 2024-07-22
 */
public class ArchiveStorageTask extends BaseEntity {
    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    private String taskId;

    /**
     * 供电单位编号
     */
    //@Excel(name = "供电单位编号")
    private String orgNo;

    /**
     * 档案室编号
     */
    //@Excel(name = "档案室编号")
    private String roomNo;

    /**
     * 入库任务编号
     */
    @Excel(name = "入库任务编号", needMerge = true)
    private String warehousingNo;

    /**
     * 状态（01-待入库 02-入库中03-入库完成）
     */
    @Excel(name = "入库状态", dictType = "stockin_status", needMerge = true)
    private String status;

    /**
     * 推送状态（01-已推送 02- 未推送）
     */
    @Excel(name = "推送状态", dictType = "push_status", needMerge = true)
    private String pushStatus;

    /**
     * 库房编号
     */
    //@Excel(name = "库房编号")
    private String houseNo;

    /**
     * 档案区编号
     */
    @Excel(name = "档案区编号", needMerge = true)
    private String areaNo;

    /**
     * 档案柜编号
     */
    @Excel(name = "柜编号", needMerge = true)
    private String cabinetNo;

    /**
     * 入库结果 1成功 2失败
     */
    //@Excel(name = "入库结果 1成功 2失败")
    private String warehousingResult;

    /**
     * 创建人
     */
    //@Excel(name = "创建人")
    private String creator;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    //@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyTime;

    /**
     * 更新人
     */
    //@Excel(name = "更新人")
    private String modifier;

    //入库操作员
    @Excel(name = "操作员", needMerge = true)
    private String warehousingBy;

    /**
     * 入库时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", needMerge = true)
    private Date warehousingTime;

    @Excel(name = "入库档案盒详情")
    private List<ArchiveStorageBox> archiveStorageBoxList;

    public List<ArchiveStorageBox> getArchiveStorageBoxList() {
        return archiveStorageBoxList;
    }

    public void setArchiveStorageBoxList(List<ArchiveStorageBox> archiveStorageBoxList) {
        this.archiveStorageBoxList = archiveStorageBoxList;
    }

    public Date getWarehousingTime() {
        return warehousingTime;
    }

    public void setWarehousingTime(Date warehousingTime) {
        this.warehousingTime = warehousingTime;
    }

    public String getWarehousingBy() {
        return warehousingBy;
    }

    public void setWarehousingBy(String warehousingBy) {
        this.warehousingBy = warehousingBy;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setOrgNo(String orgNo) {
        this.orgNo = orgNo;
    }

    public String getOrgNo() {
        return orgNo;
    }

    public void setRoomNo(String roomNo) {
        this.roomNo = roomNo;
    }

    public String getRoomNo() {
        return roomNo;
    }

    public void setWarehousingNo(String warehousingNo) {
        this.warehousingNo = warehousingNo;
    }

    public String getWarehousingNo() {
        return warehousingNo;
    }

    public void setHouseNo(String houseNo) {
        this.houseNo = houseNo;
    }

    public String getHouseNo() {
        return houseNo;
    }

    public void setAreaNo(String areaNo) {
        this.areaNo = areaNo;
    }

    public String getAreaNo() {
        return areaNo;
    }

    public void setCabinetNo(String cabinetNo) {
        this.cabinetNo = cabinetNo;
    }

    public String getCabinetNo() {
        return cabinetNo;
    }

    public void setWarehousingResult(String warehousingResult) {
        this.warehousingResult = warehousingResult;
    }

    public String getWarehousingResult() {
        return warehousingResult;
    }

    public void setPushStatus(String pushStatus) {
        this.pushStatus = pushStatus;
    }

    public String getPushStatus() {
        return pushStatus;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getCreator() {
        return creator;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public String getModifier() {
        return modifier;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("taskId", getTaskId())
                .append("orgNo", getOrgNo())
                .append("roomNo", getRoomNo())
                .append("warehousingNo", getWarehousingNo())
                .append("houseNo", getHouseNo())
                .append("areaNo", getAreaNo())
                .append("cabinetNo", getCabinetNo())
                .append("warehousingResult", getWarehousingResult())
                .append("pushStatus", getPushStatus())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("creator", getCreator())
                .append("modifyTime", getModifyTime())
                .append("modifier", getModifier())
                .toString();
    }
}
